package com.haoze.common.utils;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author: Chenchao
 * @CreateTime: 2019-11-13 10:43
 */
public class NurseTree<T> {

    /**
     * 节点ID
     */
    private String id;
    /**
     * 显示节点文本
     */
    private String text;

    /**
     * 父ID
     */
    private String parentId;

    /**
     * 子节点
     */
    private List<NurseTree<T>> children = new ArrayList<>();

    /**
     * 表单类型
     */
    private String recordType;

    /**
     * 排序
     */
    private Integer sortId;

    /**
     * file/catalog
     */
    private String type;

    private String basicdatavalueId;

    public String getBasicdatavalueId() {
        return basicdatavalueId;
    }

    public void setBasicdatavalueId(String basicdatavalueId) {
        this.basicdatavalueId = basicdatavalueId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public List<NurseTree<T>> getChildren() {
        return children;
    }

    public void setChildren(List<NurseTree<T>> children) {
        this.children = children;
    }

    public String getRecordType() {
        return recordType;
    }

    public void setRecordType(String recordType) {
        this.recordType = recordType;
    }

    public Integer getSortId() {
        return sortId;
    }

    public void setSortId(Integer sortId) {
        this.sortId = sortId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
